'Declaration Public Function New( _ ByVal sortDirection As SortDirection, _ ByVal ParamArray list() As System.String _ )
public CustomListSortCondition( SortDirection sortDirection, params System.string[] list )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | sortDirection is not defined in the SortDirection enumeration. |
When the sort direction is ascending, the data range is sorted with the cells in the custom list appearing first, in the order they appear in the list, followed by the other cells in the same relative order they had to each other before the sort. When the sort direction is descending, the cells not in the list will appear first in the data region and they will appear in the same relative order they had before the sort. They will be followed by the other cells in the reverse order of the list.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub